package com.logic.saas.enums;

import com.logic.saas.pojo.Kind;


/**
 * 州枚举，需要同步到数据库
 * @author jeffdong
 *
 */
public enum CountryEnum {
	ABW("ABW","Aruba",1),
	AFG("AFG","Afghanistan",2),
	AGO("AGO","Angola",3),
	AIA("AIA","Anguilla",4),
	ALA("ALA","Åland Islands",5),
	ALB("ALB","Albania",6),
	AND("AND","Andorra",7),
	ANT("ANT","Netherlands Antilles",8),
	ARE("ARE","United Arab Emirates",9),
	ARG("ARG","Argentina",10),
	ARM("ARM","Armenia",11),
	ASM("ASM","American Samoa",12),
	ATA("ATA","Antarctica",13),
	ATF("ATF","French Southern Territories",14),
	ATG("ATG","Antigua and Barbuda",15),
	AUS("AUS","Australia",16),
	AUT("AUT","Austria",17),
	AZE("AZE","Azerbaijan",18),
	BDI("BDI","Burundi",19),
	BEL("BEL","Belgium",20),
	BEN("BEN","Benin",21),
	BFA("BFA","Burkina Faso",22),
	BGD("BGD","Bangladesh",23),
	BGR("BGR","Bulgaria",24),
	BHR("BHR","Bahrain",25),
	BHS("BHS","Bahamas",26),
	BIH("BIH","Bosnia and Herzegovina",27),
	BLM("BLM","Saint Barthélemy",28),
	BLR("BLR","Belarus",29),
	BLZ("BLZ","Belize",30),
	BMU("BMU","Bermuda",31),
	BOL("BOL","Bolivia",32),
	BRA("BRA","Brazil",33),
	BRB("BRB","Barbados",34),
	BRN("BRN","Brunei Darussalam",35),
	BTN("BTN","Bhutan",36),
	BVT("BVT","Bouvet Island",37),
	BWA("BWA","Botswana",38),
	CAF("CAF","Central African Republic",39),
	CAN("CAN","Canada",40),
	CCK("CCK","Cocos (Keeling) Islands",41),
	CHE("CHE","Switzerland",42),
	CHL("CHL","Chile",43),
	CHN("CHN","China",44),
	CIV("CIV","Cote d'Ivoire",45),
	CMR("CMR","Cameroon",46),
	COD("COD","Congo",47),
	COG("COG","Congo",48),
	COK("COK","Cook Islands",49),
	COL("COL","Colombia",50),
	COM("COM","Comoros",51),
	CPV("CPV","Cape Verde",52),
	CRI("CRI","Costa Rica",53),
	CUB("CUB","Cuba",54),
	CXR("CXR","Christmas Island",55),
	CYM("CYM","Cayman Islands",56),
	CYP("CYP","Cyprus",57),
	CZE("CZE","Czech Republic",58),
	DEU("DEU","Germany",59),
	DJI("DJI","Djibouti",60),
	DMA("DMA","Dominica",61),
	DNK("DNK","Denmark",62),
	DOM("DOM","Dominican Republic",63),
	DZA("DZA","Algeria",64),
	ECU("ECU","Ecuador",65),
	EGY("EGY","Egypt",66),
	ERI("ERI","Eritrea",67),
	ESH("ESH","Western Sahara",68),
	ESP("ESP","Spain",69),
	EST("EST","Estonia",70),
	ETH("ETH","Ethiopia",71),
	FIN("FIN","Finland",72),
	FJI("FJI","Fiji",73),
	FLK("FLK","Falkland Islands (Malvinas)",74),
	FRA("FRA","France",75),
	FRO("FRO","Faroe Islands",76),
	FSM("FSM","Micronesia",77),
	GAB("GAB","Gabon",78),
	GBR("GBR","United Kingdom",79),
	GEO("GEO","Georgia",80),
	GGY("GGY","Guernsey",81),
	GHA("GHA","Ghana",82),
	GIB("GIB","Gibraltar",83),
	GIN("GIN","Guinea",84),
	GLP("GLP","Guadeloupe",85),
	GMB("GMB","Gambia",86),
	GNB("GNB","Guinea-Bissau",87),
	GNQ("GNQ","Equatorial Guinea",88),
	GRC("GRC","Greece",89),
	GRD("GRD","Grenada",90),
	GRL("GRL","Greenland",91),
	GTM("GTM","Guatemala",92),
	GUF("GUF","French Guiana",93),
	GUM("GUM","Guam",94),
	GUY("GUY","Guyana",95),
	HKG("HKG","Hong Kong",96),
	HMD("HMD","Heard Island and McDonald Islands",97),
	HND("HND","Honduras",98),
	HRV("HRV","Croatia",99),
	HTI("HTI","Haiti",100),
	HUN("HUN","Hungary",101),
	IDN("IDN","Indonesia",102),
	IMN("IMN","Isle of Man",103),
	IND("IND","India",104),
	IOT("IOT","British Indian Ocean Territory",105),
	IRL("IRL","Ireland",106),
	IRN("IRN","Iran",107),
	IRQ("IRQ","Iraq",108),
	ISL("ISL","Iceland",109),
	ISR("ISR","Israel",110),
	ITA("ITA","Italy",111),
	JAM("JAM","Jamaica",112),
	JEY("JEY","Jersey",113),
	JOR("JOR","Jordan",114),
	JPN("JPN","Japan",115),
	KAZ("KAZ","Kazakhstan",116),
	KEN("KEN","Kenya",117),
	KGZ("KGZ","Kyrgyzstan",118),
	KHM("KHM","Cambodia",119),
	KIR("KIR","Kiribati",120),
	KNA("KNA","Saint Kitts and Nevis",121),
	KOR("KOR","Korea",122),
	KWT("KWT","Kuwait",123),
	LAO("LAO","Lao People's Democratic Republic",124),
	LBN("LBN","Lebanon",125),
	LBR("LBR","Liberia",126),
	LBY("LBY","Libyan Arab Jamahiriya",127),
	LCA("LCA","Saint Lucia",128),
	LIE("LIE","Liechtenstein",129),
	LKA("LKA","Sri Lanka",130),
	LSO("LSO","Lesotho",131),
	LTU("LTU","Lithuania",132),
	LUX("LUX","Luxembourg",133),
	LVA("LVA","Latvia",134),
	MAC("MAC","Macao",135),
	MAF("MAF","Saint Martin (French part)",136),
	MAR("MAR","Morocco",137),
	MCO("MCO","Monaco",138),
	MDA("MDA","Moldova",139),
	MDG("MDG","Madagascar",140),
	MDV("MDV","Maldives",141),
	MEX("MEX","Mexico",142),
	MHL("MHL","Marshall Islands",143),
	MKD("MKD","Macedonia",144),
	MLI("MLI","Mali",145),
	MLT("MLT","Malta",146),
	MMR("MMR","Myanmar",147),
	MNE("MNE","Montenegro",148),
	MNG("MNG","Mongolia",149),
	MNP("MNP","Northern Mariana Islands",150),
	MOZ("MOZ","Mozambique",151),
	MRT("MRT","Mauritania",152),
	MSR("MSR","Montserrat",153),
	MTQ("MTQ","Martinique",154),
	MUS("MUS","Mauritius",155),
	MWI("MWI","Malawi",156),
	MYS("MYS","Malaysia",157),
	MYT("MYT","Mayotte",158),
	NAM("NAM","Namibia",159),
	NCL("NCL","New Caledonia",160),
	NER("NER","Niger",161),
	NFK("NFK","Norfolk Island",162),
	NGA("NGA","Nigeria",163),
	NIC("NIC","Nicaragua",164),
	NIU("NIU","Niue",165),
	NLD("NLD","Netherlands",166),
	NOR("NOR","Norway",167),
	NPL("NPL","Nepal",168),
	NRU("NRU","Nauru",169),
	NZL("NZL","New Zealand",170),
	OMN("OMN","Oman",171),
	PAK("PAK","Pakistan",172),
	PAN("PAN","Panama",173),
	PCN("PCN","Pitcairn",174),
	PER("PER","Peru",175),
	PHL("PHL","Philippines",176),
	PLW("PLW","Palau",177),
	PNG("PNG","Papua New Guinea",178),
	POL("POL","Poland",179),
	PRI("PRI","Puerto Rico",180),
	PRK("PRK","Korea",181),
	PRT("PRT","Portugal",182),
	PRY("PRY","Paraguay",183),
	PSE("PSE","Palestinian Territory",184),
	PYF("PYF","French Polynesia",185),
	QAT("QAT","Qatar",186),
	REU("REU","Réunion",187),
	ROU("ROU","Romania",188),
	RUS("RUS","Russian Federation",189),
	RWA("RWA","Rwanda",190),
	SAU("SAU","Saudi Arabia",191),
	SDN("SDN","Sudan",192),
	SEN("SEN","Senegal",193),
	SGP("SGP","Singapore",194),
	SGS("SGS","South Georgia and the South Sandwich Islands",195),
	SHN("SHN","Saint Helena",196),
	SJM("SJM","Svalbard and Jan Mayen",197),
	SLB("SLB","Solomon Islands",198),
	SLE("SLE","Sierra Leone",199),
	SLV("SLV","El Salvador",200),
	SMR("SMR","San Marino",201),
	SOM("SOM","Somalia",202),
	SPM("SPM","Saint Pierre and Miquelon",203),
	SRB("SRB","Serbia",204),
	STP("STP","Sao Tome and Principe",205),
	SUR("SUR","Suriname",206),
	SVK("SVK","Slovakia",207),
	SVN("SVN","Slovenia",208),
	SWE("SWE","Sweden",209),
	SWZ("SWZ","Swaziland",210),
	SYC("SYC","Seychelles",211),
	SYR("SYR","Syrian Arab Republic",212),
	TCA("TCA","Turks and Caicos Islands",213),
	TCD("TCD","Chad",214),
	TGO("TGO","Togo",215),
	THA("THA","Thailand",216),
	TJK("TJK","Tajikistan",217),
	TKL("TKL","Tokelau",218),
	TKM("TKM","Turkmenistan",219),
	TLS("TLS","Timor-Leste",220),
	TON("TON","Tonga",221),
	TTO("TTO","Trinidad and Tobago",222),
	TUN("TUN","Tunisia",223),
	TUR("TUR","Turkey",224),
	TUV("TUV","Tuvalu",225),
	TWN("TWN","Taiwan",226),
	TZA("TZA","Tanzania",227),
	UGA("UGA","Uganda",228),
	UKR("UKR","Ukraine",229),
	UMI("UMI","United States Minor Outlying Islands",230),
	URY("URY","Uruguay",231),
	USA("USA","United States",232),
	UZB("UZB","Uzbekistan",233),
	VAT("VAT","Holy See (Vatican City State)",234),
	VCT("VCT","Saint Vincent and the Grenadines",235),
	VEN("VEN","Venezuela",236),
	VGB("VGB","Virgin Islands",237),
	VIR("VIR","Virgin Islands",238),
	VNM("VNM","Viet Nam",239),
	VUT("VUT","Vanuatu",240),
	WLF("WLF","Wallis and Futuna",241),
	WSM("WSM","Samoa",242),
	YEM("YEM","Yemen",243),
	ZAF("ZAF","South Africa",244),
	ZMB("ZMB","Zambia",245),
	ZWE("ZWE","Zimbabwe",246);

	
	CountryEnum(String shortName,String fullName, Integer priority){
		this.shortName = shortName;
		this.fullName = fullName;
		this.priority = priority;
	}
	private String shortName;
	private String fullName;
	private Integer priority;
	
	private Kind kind=new Kind(KindEnum.COUNTRY.getShortName(), KindEnum.COUNTRY.getFullName(),KindEnum.COUNTRY.isEditable());
	
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Kind getKind() {
		return kind;
	}
	
	
}
